{% extends 'admin/base_site.html' %}
{% load i18n %}
{% block breadcrumbs %}
<div class="breadcrumbs">
	<a href="../../">{% trans "Home" %}</a> &rsaquo;
	<a href="../">Labsite</a> &rsaquo;
	<a href="./">New requests</a> &rsaquo;
	Approve a new labsite request
</div>
{% endblock %}
{% block content %}
	<p>Are you sure to approve the selected request and create a labsite for it?<br/>If you go, the labsite for this request will be created and activated.</p>
	<p>You may change the number of VM/IPs here, and other properties by clicking edit link.<p>
	<form action="" method="post">
		<div>
			<ul>
				<li><strong>Organization : {{ request.get_organization_display }}</strong></li>
				<li><strong>Course : {{ request.course }}</strong></li>
				<li><strong>Title : {{ request.title }}</strong></li>
				<li><a href="/admin/labsite/newrequest/{{ request.pk }}/">See more details or edit</a></li>
			</ul>
			{{ approval_form.as_p }}
			<input type="hidden" name="{{ action_checkbox_name }}" value="{{ request.pk }}" />
			<input type="hidden" name="action" value="approve_request" />
			<input type="hidden" name="post" value="yes" />
			<p><input type="submit" value="Yes, I'm sure." /></p>
		</div>
	</form>
{% endblock %}
